package cn.tedu.spring.auto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class UserCache {
    //@Resource(name = "cacheImpl1")
    @Qualifier(value = "cacheImpl2")

    private Cache cache;
}
